<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/fns.tld" prefix="fns" %>
<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <jsp:include page="/resources/inc/head.jsp" />
</head>
<body>
<form class="layui-form layui-form-pane" id="_form">
    <input type="hidden" value="${train.id}" name="id"/>
    <div class="layui-card">
        <div class="layui-card-header">培训详情</div>
        <div class="layui-card-body layui-row layui-col-space10">
            <div class="layui-col-md12">
                <textarea name="trainSummary" placeholder="请输入培训详情"
                          class="layui-textarea">${train.trainSummary}</textarea>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block" style="float: right">
            <button class="layui-btn" lay-submit="" lay-filter="sub">立即提交</button>
        </div>
    </div>
</form>
<jsp:include page="/resources/inc/pageFooter.jsp" />
<script>
    $(function () {
        FormCommon.initForm({
            url: '${basePath}/oa/hr/train/update',
            subContentType: "json"
        });
    });
</script>
</body>
</html>
